package com.zcx.qshop.conn;

import com.zcx.helper.http.AsyCallBack;
import com.zcx.helper.http.note.HttpInlet;

import org.json.JSONObject;

/**
 * Created by Administrator on 2015/11/25.
 */
@HttpInlet(Conn.INLET_JSON_PAYBALANCE)
public class JsonPaybalanceAsyGet extends QSAsyGet {

    public String orderid, userid;

    public JsonPaybalanceAsyGet(String orderid, String userid, AsyCallBack asyCallBack) {

        super(asyCallBack);

        this.orderid = orderid;

        this.userid = orderid;

    }

    @Override
    protected Object parser(JSONObject object) {

        if(object.optString("message").equals("1")){

            return "";

        }

        return null;

    }
}
